package net.springmvc11_12.mapper;

import net.springmvc11_12.entity.Stu;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface StuMapper {

    @Select("select * from newtable where name= #{name} and sn=#{sn}")
    Stu login(@Param("name") String name,@Param("sn") String sn);
}
